package com.open.capacity.paper.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.open.capacity.common.model.Option;
import com.open.capacity.common.model.Paper;
import com.open.capacity.common.model.Question;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author liangd
 * @since 2021-02-01 14:37
 */
@Mapper
public interface PaperDao extends BaseMapper<Paper> {

    List<Paper> findList(Map<String, Object> params);

    List<Question> findQuestionByPaperId(Integer papeid);

    List<Option> findOptionByQuestionId(Integer quesid);
}
